1. 程式人生 > >ORA-28001: the password has expired解決方法

ORA-28001: the password has expired解決方法

後臺報ORA-28001: the password has expired 密碼超時

登入資料庫伺服器(或者使用cmd),

1.使用 sqlplus / as sysdba命令進入oracle資料庫

2.使用:select * from dba_profiles where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';

語句檢視密碼的有效天數為180天,也就是三個月

3.使用:alter profile default limit password_life_time unlimited; 命令改為永久生效

4.驗證

5.進行以上步驟之後需要改變密碼,否則還會出現password has expired異常

修改使用者密碼: alter user editor identified by editor;